<%--
  Created by IntelliJ IDEA.
  User: HP
  Date: 2021/6/15
  Time: 9:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>上传文件</title>
</head>
<body>
<form id="dataForm" method="post" enctype="multipart/form-data" >
    <table cellSpacing="30" cellPadding="5" width="100%" align="center" bgColor="#eeeeee" style="border: 1px solid #8ba7e3" border="0">
        <tr>
            <td class="ta_01" bgColor="#afd1f3" colSpan="4" height="26">
                <strong>添加商品</strong>
            </td>
        </tr>
        <tr>
            <td width="20%" align="center" bgColor="#f5fafe" class="ta_01">
                商品名称：
            </td>
            <td width="30%" class="ta_01" bgColor="#ffffff">
                <input type="text" name="name" value="" id="userAction_save_do_logonName" class="bg"/>
            </td>
            <td width="20%" align="center" bgColor="#f5fafe" class="ta_01">
                所属分类：
            </td>
            <td class="ta_01" bgColor="#ffffff">
                <select name="tid" class="bg" id="tid">

                </select>
            </td>
        </tr>
        <tr>
            <td align="center" bgColor="#f5fafe" class="ta_01">
                商品价格：
            </td>
            <td class="ta_01" bgColor="#ffffff">
                <input type="text" name="price" id="price"  class="bg"/>
            </td>
            <td align="center" bgColor="#f5fafe" class="ta_01">
                库存数量：
            </td>
            <td class="ta_01" bgColor="#ffffff">
                <input type="text" name="num" id="num" class="bg" />
            </td>
        </tr>
        <tr>
            <td align="center" bgColor="#f5fafe" class="ta_01">
                商品图片：
            </td>
            <td class="ta_01" bgColor="#ffffff" colspan="3">
                <input type="file" name="upFile"  class="bg" />
            </td>
        </tr>
        <tr>
            <td align="center" bgColor="#f5fafe" class="ta_01">
                商品描述：
            </td>
            <td class="ta_01" bgColor="#ffffff" colspan="3">
                <textarea name="description" id="description" rows="5" style="width:99%;"></textarea>
            </td>
        </tr>
        <tr>
            <td class="ta_01" style="padding: 10px 0;" align="center" bgColor="#f5fafe" colSpan="4">
                <input id="addBtn" type="button" value="确定" />&nbsp;&nbsp;
                <input  id="reset" type="reset" value="重置" />&nbsp;&nbsp;
                <input id="closeDialog" type="button" value="关闭" />
            </td>
        </tr>
    </table>
</form>
</body>
</html>
